"use strict";
cc._RF.push(module, '0f151PisGVJAKNTI3GsmFYp', 'Util');
// Script/util/Util.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var _ = {
  arrIntersect: function arrIntersect(arr1, arr2) {
    var intersectArr = [];
    for (var i = 0; i < arr1.length; i++) {
      for (var j = 0; j < arr2.length; j++) {
        if (arr2[j] == arr1[i]) {
          intersectArr.push(arr2[j]);
        }
      }
    }
    return intersectArr;
  },

  checkArrIsEqual: function checkArrIsEqual(arr1, arr2) {
    for (var i = 0; i < arr1.length; i++) {
      if (arr2[i] != arr1[i]) {
        return false;
      }
    }
    return true;
  }
};

exports.default = _;
module.exports = exports["default"];

cc._RF.pop();